﻿<Window x:Class="PowerSong.UserInterface.EditCategoryWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Edit Category" Height="304" Width="541" Icon="/PowerSong;component/Icons/BlackIcon.ico"
        WindowStartupLocation="CenterScreen">
    <Grid>
        
        <TextBlock HorizontalAlignment="Left" Margin="12,17,0,0" Text="Category Name:" VerticalAlignment="Top" />
        <TextBox Height="23" Margin="104,14,12,0" Name="NameTextBox" VerticalAlignment="Top" />
                
        <TextBlock HorizontalAlignment="Left" Margin="12,43,0,0" Text="Assigned Songs:" VerticalAlignment="Top" />
        <ListBox Margin="104,43,93,51" Name="SongsListBox" SelectionMode="Extended" SelectionChanged="SongsListBox_SelectionChanged" />
        
        <Button Content="_Add..." Height="23" HorizontalAlignment="Right" Margin="0,43,12,0" Name="AddButton" VerticalAlignment="Top" Width="75" Click="AddButton_Click" />
        <Button Content="_Remove" Height="23" HorizontalAlignment="Right" Margin="0,72,12,0" Name="RemoveButton" VerticalAlignment="Top" Width="75" Click="RemoveButton_Click" />

        <CheckBox Content="Make this category a default category for new songs" Height="16" HorizontalAlignment="Left" Margin="12,234,0,0" Name="DefaultCheckBox" VerticalAlignment="Top" />
        
        <Button Content="_Cancel" Height="23" HorizontalAlignment="Right" Margin="0,0,12,12" Name="CancelButton" VerticalAlignment="Bottom" Width="75" Click="CancelButton_Click" IsCancel="True" />
        <Button Content="_OK" Height="23" HorizontalAlignment="Right" Margin="0,0,93,12" Name="OKButton" VerticalAlignment="Bottom" Width="75" Click="OKButton_Click" IsDefault="True" />
        
    </Grid>
</Window>
